from ronglian_sms_sdk import SmsSDK
accId ='8aaf070878d419aa017901c8dd32124a'
accToken ='095502c8c00f40faa585474b58b42da6'
appId ='8aaf070878d419aa017901c8de251251'
sdk = SmsSDK(accId, accToken, appId)

tid = '1'   #只能用
mobile = '17550656315'
datas = ('123456', 5)
result = sdk.sendMessage(tid, mobile,datas)

import json
data = json.loads(result)
print(data)

if data.get('statusCode') == '000000':
    print('发送成功')

else:
    print('发送失败')